package com.opensource.baowebcon;

import com.opensource.common.jdk11config.jdk11_config;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@EnableDubbo
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = "com.opensource")
public class BaoWebApplication {

    public static void main(String[] args) {
        jdk11_config.disableWarning(); //禁用警告
        SpringApplication.run(BaoWebApplication.class, args);
        System.out.println("Web启动成功------------------");
    }

}
